import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import MyWorld from "../components/MyWorld";
import Mybutton from "../components/Mybutton";
import MyTable from "../components/MyTable";
import MyTable02 from "../components/MyTable02";
import Myhomework from "../components/Myhomework";
import Myhomework02 from "../components/Myhomework02";
import Myhomework03 from "../components/Myhomework03";
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },{
      path: '/MyWorld',
      name: 'MyWorld',
      component: MyWorld
    },{
      path: '/Mybutton',
      name: 'Mybutton',
      component: Mybutton
    },{
      path: '/MyTable',
      name: 'MyTable',
      component: MyTable
    },{
      path: '/MyTable02',
      name: 'MyTable02',
      component: MyTable02
    },{
      path: '/Myhomework',
      name: 'Myhomework',
      component: Myhomework
    },{
      path: '/Myhomework02',
      name: 'Myhomework02',
      component: Myhomework02
    },{
      path: '/Myhomework03',
      name: 'Myhomework03',
      component: Myhomework03
    }
  ]
})
